package store.lunangangster.engine.impl.entity;

public abstract class EntityImpl implements Entity {

  protected String id;
  protected boolean isInsert;
  protected boolean isUpdate;
  protected boolean isDelete;

  @Override
  public String getId() {
    return id;
  }

  @Override
  public void setId(String id) {
    this.id = id;
  }

  @Override
  public boolean isInsert() {
    return isInsert;
  }

  @Override
  public void setInsert(boolean insert) {
    this.isInsert = insert;
  }

  @Override
  public boolean isUpdate() {
    return isUpdate;
  }

  @Override
  public void setUpdate(boolean update) {
    this.isUpdate = update;
  }

  @Override
  public boolean isDelete() {
    return isDelete;
  }

  @Override
  public void setDelete(boolean delete) {
    this.isDelete = delete;
  }
}
